{include file="Public:header2"/}

<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <xblock>
                <div style="padding-bottom: 10px;">
                    <span style="line-height:40px;float:right;margin-left: 30px;">共有数据： {$count}条</span>
                </div>
            </xblock>
            <table class="layui-table" style="text-align:center">
                <thead>
                <tr>
                    <th>奖品信息</th>
                    <th>奖品类型</th>
                    <th>兑换价值</th>
                    <th>数量</th>
                </tr>
                </thead>
                <tbody>
                    {volist name="list" id="vo"}
                        <tr>
                            <td style="text-align: left">
                                <div style="display: flex;">
                                    <div><img src="{:imageUrl($vo['goodslist_imgurl'])}" alt="" width="50px" height="50px"></div>
                                    <div style="margin-left: 10px">
                                        <p style="color: #666;font-size: 10px">{$vo['goodslist_title']}</p>
                                        <p style="color: #ff5722c2;font-size: 10px">奖品价值：{$vo['goodslist_price']}</p>
                                    </div>
                                </div>
                            </td>
                            <td>
                                <button class="layui-btn layui-btn-primary layui-btn-radius layui-btn-sm">{$vo['shang_title']}</button>
                            </td>
                            <td>{$vo['goodslist_money']}</td>
                            <td>x{$vo['num']}</td>
                        </tr>
                    {/volist}
                
                        {if condition="empty($list)"}
                            <tr><td colspan='10' style="text-align:center;">暂时没有数据！</td></tr>
                        {/if}
                </tbody>
            </table>
        </div>
    </div>
</div>
{include file="Public:footer"/}
<script type="text/javascript">

</script>
</body>
</html>


